<?php
// $Id$

/**
 * Controller_Discusscomment 控制器
 */
class Controller_Discusscomment extends Controller_Abstract
{
	function actionPhoneWriteComment()
	{
        $user_name = $this->_context->user_name;
        $user = User::find('username = ?', $this->_context->user_name)->query();
        if(!isset($user->user_name) || $user->user_name != $user_name)
        {
            return 0;
        }
        $topic_id = $this->_context->topic_id;
        $comment_content = $this->_context->comment_content;
        $created_time=time();
        $user_id=$user->user_id;
	}
}


